<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Gets the gravity</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="imagick.getformat.html">Imagick::getFormat</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="imagick.gethomeurl.html">Imagick::getHomeURL</a></div>
 <div class="up"><a href="class.imagick.html">Imagick</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="imagick.getgravity" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Imagick::getGravity</h1>
  <p class="verinfo">(No version information available, might only be in Git)</p><p class="refpurpose"><span class="refname">Imagick::getGravity</span> &mdash; <span class="dc-title">Gets the gravity</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-imagick.getgravity-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><strong>Imagick::getGravity</strong></span>
    ( <span class="methodparam">void</span>
   )</div>


  <p class="para rdfs-comment">
   Gets the global gravity property for the Imagick object.
   此方法在Imagick基于ImageMagick 6.4.0以上版本编译时可用。
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-imagick.getgravity-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the gravity property. Refer to the list of 
   <a href="imagick.constants.html#imagick.constants.gravity" class="link">gravity constants</a>.
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="imagick.getformat.html">Imagick::getFormat</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="imagick.gethomeurl.html">Imagick::getHomeURL</a></div>
 <div class="up"><a href="class.imagick.html">Imagick</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
